package cn.com.clearbus.entity.weChat.node;

public class EnterNode<E> implements Node<E> {

    private E e;

    private String modelView;

    public EnterNode(int times){
        StringBuilder stringBuilder = new StringBuilder();
        for (int i = 0; i < times; i++) {
            stringBuilder.append("\r\n");
        }
        this.modelView = stringBuilder.toString();
    }

    @Override
    public String getModelView() {
        return modelView;
    }


//    public static void main(String[] args) {
//        String s = new StringBuilder("计算机").append("软件").toString();
//        System.out.println(s.intern() == s);
//        String s2 = new StringBuilder("ja").append("va").toString();
//        System.out.println(s2.intern() == s2);
//    }
}
